<!--工作流模型列表-->
<div class="bg-light lter b-b wrapper-md device-hide">
	<h1 class="m-n font-thin h3"
		translate="nav.workflow.model"></h1>
</div>
<div class="wrapper-md">
	<div class="panel panel-default">
		<!--面板标题-->
		<div class="panel-heading font-bold" translate="workflow.model.list"></div>
		<!--操作栏-->
		<div class="panel-neck row">
			<form class="form-inline col-md-12" role="form">
				<div class="form-group">
					<select class="form-control" name="category"
						ng-model="vm.query.category" maxlength="32"
						placeholder="{{'workflow.model.category'|translate}}">
						<option value>请选择</option>
						<option ng-repeat="category in vm.categorys" value="{{category.value}}">{{category.name}}</option>
						</select>
				</div>
				<!--右侧按钮-->
				<div class="form-group pull-right">
					<!--查询-->
					<button class="btn btn-sm btn-primary" ng-click="vm.search()">
						<i class="fa fa-search"></i> <span
							translate="{{'common.search'|translate}}"></span>
					</button>
					<!--新增-->
					<button
                           class="btn btn-sm btn-primary" ng-click="vm.addModel()">
                       		<i class="fa fa-plus"></i>
                         <span translate="{{'common.add'|translate}}"></span>
                     </button>
					<!--重置-->
					<button class="btn btn-sm btn-default" ng-click="vm.reset()">
						<i class="fa fa-refresh"></i> <span
							translate="{{'common.reset'|translate}}"></span>
					</button>
				</div>
			</form>
		</div>
		<div class="b-b"></div>
		<!--表格-->
		<div class="panel-body">
			<table id="modelGrid" iss-flexigrid="vm.tableOptions"
				flexigrid-control="vm.table"></table>
		</div>
	</div>
</div>

